Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix testPatternPermutations within ByteMachingTest #182

Merged
merged 2 commits into from
Sep 4, 2024
Merged

Fix testPatternPermutations within ByteMachingTest #182

merged 2 commits into from
Sep 4, 2024

Conversation

baldawar
Copy link
Collaborator

@baldawar baldawar commented Sep 4, 2024

Issue #, if available: 181

Description of changes:

For each test within the class we add a list of "noMatches" objects that should never be pattern matches intentinoally or not. However we never check if we ever accidentally register these pattern when adding other patterns. We will fix this by tracking when these patterns get added (probably by error) and then later validate the checks

Note, no impact to the correctness of the ByteMachine itself, just that the test scaffolding was broken and needed to be fixed.

See #181 for more context.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

For each test within the class we add a list of "noMatches" objects
that should never be pattern matches intentinoally or not. However
we never check if we ever accidentally register these pattern when
adding other patterns. We will fix this by tracking when these
patterns get added (probably by error) and then later validate the
checks

Note, no impact to the correctness of the ByteMachine itself, just
that the test scaffolding was broken and needed to be fixed.

See #181 for more context.
@baldawar baldawar marked this pull request as ready for review September 4, 2024 22:25
@baldawar baldawar merged commit 3b57d21 into main Sep 4, 2024
3 checks passed
@baldawar baldawar deleted the 181 branch September 5, 2024 02:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants